This shortcode generates a paginated, searchable, and sortable data table in WordPress with customizable role-based access control. Ideal for displaying data to specific users with an interactive and secure interface.
- Search: Supports both global and column-specific searches.
- Sort: Allows sorting by any column by clicking on headers.
- Pagination: Includes pagination controls for easy navigation.
- Access Control: Specify user roles or capabilities with an
auth
parameter, e.g.,[show_data auth="administrator, editor"]
.